package com.gx.service.api;

import com.gx.domain.SysRole;

import java.util.List;

public interface SysRoleService {
    int save(SysRole sysRole);

    List<SysRole> queryAll();

    List<SysRole> queryByUserId(String userId);

    List<SysRole> queryListLike(String name, String remark);

    int batchDelete(List<Long> ids);

    SysRole queryByName(String name);

    int update(SysRole sysRole);

    int update(SysRole sysRole, List<Long> menuIds);
}
